﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Linq
{
    class Group
    {
        int groupNumer;
        string departmentName;

        public int GroupNumer
        {
            get
            {
                return groupNumer;
            }
            set
            {
                groupNumer = value;
            }
        }

        public string DepartmentName
        {
            get
            {
                return departmentName;
            }
            set
            {
                departmentName = value;
            }
        }

        public Group(int groupNumer, string departmentName)
        {
            this.groupNumer = groupNumer;
            this.departmentName = departmentName;
        }
    }
}
